<br />
<div ID="categories"></div>
<div ID="enteteArticles"></div>
<BR />
<div ID="articles" align='center'></div>
<div ID="erreur"></div>

<link rel="alternate" type="application/rss+xml" title="RSS" href="rss/articles-rss.xml" />

<script type="text/javascript" src="include/frameworks/thickbox.js"></script>
<script type="text/javascript" src="include/illustrations.js"></script>
<style type="text/css" media="all">@import "css/thickbox.css";</style>


<?
$register = 0;
if (session_is_registered('login')){
  $register = 1;
}
if($register == 1) { 
	echo "<table width='100%'><td align='center'><a href='index.php?page=update_article' class='blanc'>Ajouter un article</a></td></table>";
} else { 
	echo "<table width='100%'><td align='center'><b>Pour proposer un article, écrivez à <img src='images/mail.gif'></b></td></table>";
}
echo "<a href='rss/articles-rss.xml' target='_blank'><IMG src='images/rss.png' /></a>";
 
echo "\n<script language='Javascript'>\n";
echo "setRegisterSession(".$register.");\n";
echo "getCategories();\n";

$id_article= -1;
if (isset($_GET['rss'])){
  $id_article = $_GET['id'];
}
echo "getArticles(0,'*',0,$id_article);\n";
echo "</script>";
?>
